<template>
    <div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>应急处置卡名称</label>
            </div>
            <div>
                <p>{{detailData.EmergencyDisposalName}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>岗位名称</label>
            </div>
            <div>
                <p>{{detailData.PostName}}</p>
            </div>
        </div>
        <!-- <div class="form-item form-item-style1">
            <div class="label-title">
                <label>车辆伤害</label>
            </div>
            <div>
                <p></p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>人身伤害</label>
            </div>
            <div>
                <p>什么救济金</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>触电伤害</label>
            </div>
            <div>
                <p>什么救济金</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>触电伤害</label>
            </div>
            <div>
                <p>什么救济金</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>高处坠物打击</label>
            </div>
            <div>
                <p>什么救济金</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>身体中暑</label>
            </div>
            <div>
                <p>什么救济金</p>
            </div>
        </div> -->
        <div class="form-item form-item-style2">
            <div class="label-title">
                <label>应急处置措施</label>
            </div>
            <div>
                <p class="textarea">{{detailData.DisposalMeasures}}</p>
            </div>
        </div>
        <div class="form-item form-item-style2">
            <div class="label-title">
                <label>配备的劳动保护用品</label>
            </div>
            <div>
                <p class="textarea">{{detailData.LobarProtection}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>应急办公室电话</label>
            </div>
            <div>
                <p>{{detailData.OfficeTel}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>项目经理电话</label>
            </div>
            <div>
                <p>{{detailData.ItemManagerTel}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>安全员电话</label>
            </div>
            <div>
                <p>{{detailData.SafeManTel}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>火警电话</label>
            </div>
            <div>
                <p>{{detailData.FireTel}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>急救电话</label>
            </div>
            <div>
                <p>{{detailData.EmergencyTel}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>报警电话</label>
            </div>
            <div>
                <p>{{detailData.AlarmTel}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>操作人员</label>
            </div>
            <div>
                <p>{{detailData.OperUser}}</p>
            </div>
        </div>
        <div class="form-item form-item-style1">
            <div class="label-title">
                <label>操作时间</label>
            </div>
            <div>
                <p>{{detailData.OperDate}}</p>
            </div>
        </div>
        <myMenu></myMenu>
    </div>
</template>
<script>
import myMenu from '@/commonComponents/menu'
export default {
    name: 'emergencyCardDetail',
    components: {
        myMenu
    },
    data () {
        return {
            userInfo: {},
            detailData: {}
        }
    },
    created () {
        this.userInfo = JSON.parse(localStorage.getItem('userInfo')) || {}
        this.getDetail()
    },
    methods: {
        getDetail () {
            var params = {
                'allowPaging': true,
                'business': 'GetEmergencyDisposalCardDetails',
                'data': {
                    'ID': this.$route.query.id
                },
                'pageIndex': 0,
                'pageSize': 0,
                'tokenId': '64E1078BAA88672FCE858757B54CF65F',
                'userId': this.userInfo.userid
            }
            this.$axiosAjax.getConfigJson(params)
                .then((res) => {
                    if (res.data.code === 0) {
                        this.detailData = res.data.data
                    }
                }).catch((response) => {
                })
        }
    }
}
</script>
<style scoped>
</style>
